package com.business.bean.basic;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "BAS_INSURANCE", description = "保险信息表")
public class InsuranceBean extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "保险编号", canNull = false, size = 32, policy = "UUID")
	private String insureID = null;

	@Column(type = Type.变长文本, description = "保险名称", size = 30)
	private String insureName = null;

	@Column(type = Type.变长文本, description = "保险分类", size = 32)
	private String insureSort = null;

	@Column(type = Type.变长文本, description = "说明", size = 250)
	private String description = null;

	/** 有效：1；结束：2 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;
}
